﻿using System;

namespace ISHotel.Database
{
    public class Pobyt
    {
        public static String ATTR_id_pobytu = "id_pobytu";
        public static String ATTR_id_taxy = "id_taxy";
        public static String ATTR_prijezd = "prijezd";
        public static String ATTR_odjezd = "odjezd";
        public static String ATTR_celkova_suma = "celkova_suma";
        public static String ATTR_zaplaceno = "zaplaceno";

        private int mid_pobytu;
        private int mid_taxy;
        private DateTime mprijezd;
        private DateTime modjezd;
        private int mcelkova_suma;
        private int mzaplaceno;
        
        public int id_pobytu
        {
            get
            {
                return mid_pobytu;
            }
            set
            {
                mid_pobytu = value;
            }
        }

        public int id_taxy
        {
            get
            {
                return mid_taxy;
            }
            set
            {
                mid_taxy = value;
            }
        }

        public DateTime prijezd
        {
            get
            {
                return mprijezd;
            }
            set
            {
                mprijezd = value;
            }
        }

        public DateTime odjezd
        {
            get
            {
                return modjezd;
            }
            set
            {
                modjezd = value;
            }
        }

        public int celkova_suma
        {
            get
            {
                return mcelkova_suma;
            }
            set
            {
                mcelkova_suma = value;
            }
        }

        public int zaplaceno
        {
            get
            {
                return mzaplaceno;
            }
            set
            {
                mzaplaceno = value;
            }
        }

        public static String ATTR_id_pokoje = "id_pokoje";
        public static String ATTR_rodne_cislo = "rodne_cislo";
        public static String ATTR_id_stravovani = "id_stravovani";
        
        private int mid_pokoje;
        private string mrodne_cislo;
        private int mid_stravovani;
        private string mjmeno;

        public int id_pokoje
        {
            get
            {
                return mid_pokoje;
            }
            set
            {
                mid_pokoje = value;
            }
        }

        public string rodne_cislo
        {
            get
            {
                return mrodne_cislo;
            }
            set
            {
                mrodne_cislo = value;
            }
        }

        public string jmeno
        {
            get
            {
                return mjmeno;
            }
            set
            {
                mjmeno = value;
            }
        }

        public int id_stravovani
        {
            get { return mid_stravovani; }
            set
            {
                mid_stravovani = value;
            }
        }

    }
}